package com.example.lenovo.liweixin1601v20180702.v.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import com.example.lenovo.liweixin1601v20180702.m.bean.LoadBean;
import com.example.lenovo.liweixin1601v20180702.m.bean.NewBean;
import com.example.lenovo.liweixin1601v20180702.v.activity.MainActivity;

import java.util.List;

/**
 * Created by lenovo on 2018/7/2.
 */

public class NewsAdapter extends RecyclerView.Adapter{
    private Context context;
    private List<NewBean.DataBean.Discounts2Bean> list;

    public NewsAdapter(Context context, List<NewBean.DataBean.Discounts2Bean> list) {
        this.context = context;
        this.list = list;
    }

    public NewsAdapter(MainActivity mainActivity, List<LoadBean.DataBean.Discounts2Bean> list) {
    }

    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return null;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 0;
    }
}
